package com.databuffer;

import org.springframework.core.io.buffer.DataBufferFactory;
import org.springframework.core.io.buffer.DataBufferUtils;
import org.springframework.core.io.buffer.DefaultDataBuffer;
import org.springframework.core.io.buffer.DefaultDataBufferFactory;

public class DataBufferFactoryTest {
	public static void main(String[] args) {
		DefaultDataBufferFactory factory = new DefaultDataBufferFactory();
		DefaultDataBuffer defaultDataBuffer = factory.allocateBuffer();

		DataBufferUtils.release(defaultDataBuffer);
	}
}
